Skip to content

fix(PM-1168): QA feedbacks for assigning copilots #810

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
May 27, 2025
Merged

Conversation

hentrymartin
Copy link
Collaborator

@hentrymartin hentrymartin commented May 23, 2025

What's in this PR?

  • Fixed QA feedbacks when assigning a copilot to an opportunity.

Ticket link - https://topcoder.atlassian.net/browse/PM-1168

@hentrymartin hentrymartin requested a review from kkartunov May 25, 2025 22:38
@@ -99,6 +99,7 @@ module.exports = [
}

const applicationUser = await util.getMemberDetailsByUserIds([userId], req.log, req.id);
console.log(applicationUser, 'applicationUser');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove the console.log statement used for debugging purposes. It is not recommended to leave debugging logs in production code.

@@ -99,6 +99,7 @@ module.exports = [
}

const applicationUser = await util.getMemberDetailsByUserIds([userId], req.log, req.id);
req.log.info(applicationUser, 'applicationUser');

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Consider removing the logging of applicationUser if it is not necessary for production. Logging sensitive information can lead to security issues.

@@ -99,6 +99,7 @@ module.exports = [
}

const applicationUser = await util.getMemberDetailsByUserIds([userId], req.log, req.id);
req.log.info(applicationUser, 'applicationUser asdsd', userId);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The log message seems to have a typo or unnecessary text 'asdsd'. Consider revising it to ensure clarity and relevance.

@hentrymartin hentrymartin changed the title fix: QA feedbacks for assigning copilots fix(PM-1168): QA feedbacks for assigning copilots May 26, 2025
Copy link
Contributor

@kkartunov kkartunov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

@kkartunov kkartunov merged commit 5151cfa into develop May 27, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants